package org.example.rowing.domain;

import lombok.Data;
import org.example.rowing.enums.GenderEnum;

@Data
public class Race {
    private Long id;
    private String name;
    private Long eventId;
    private Integer distance;
    private String raceType;
    private GenderEnum genderEnum;
    private String raceDate;
    private Integer firstScore;
    private Integer secondScore;
    private Integer thirdScore;
    private Integer forthScore;
    private Integer fifthScore;
    private Integer sixthScore;
    private Integer seventhScore;
    private Integer eighthScore;
    private Boolean isFinished;
    private Boolean isLongDistance;

    public Race() {}

    public Race(Long id, String name, Long eventId, Integer distance, String raceType, GenderEnum genderEnum, String raceDate, Integer firstScore, Integer secondScore, Integer thirdScore, Integer forthScore, Integer fifthScore, Integer sixthScore, Integer seventhScore, Integer eighthScore, Boolean idFinished, Boolean isLongDistance) {
        this.id = id;
        this.name = name;
        this.eventId = eventId;
        this.distance = distance;
        this.raceType = raceType;
        this.genderEnum = genderEnum;
        this.raceDate = raceDate;
        this.firstScore = firstScore;
        this.secondScore = secondScore;
        this.thirdScore = thirdScore;
        this.forthScore = forthScore;
        this.fifthScore = fifthScore;
        this.sixthScore = sixthScore;
        this.seventhScore = seventhScore;
        this.eighthScore = eighthScore;
        this.isFinished = idFinished;
        this.isLongDistance = isLongDistance;
    }
}
